import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// eslint-disable-next-line no-unused-vars
import animate from 'animate.css';
Vue.use(animate);
//引入vant插件
import 'vant/lib/button/style';
//按钮插件
import { Button } from 'vant';
Vue.use(Button);

//icon图标插件
import { Icon } from 'vant';
Vue.use(Icon);

//搜索框插件
import { Search } from 'vant';
Vue.use(Search);

//tab页插件
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);

//轮播图插件
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);


//下拉刷新
import { PullRefresh } from 'vant';
Vue.use(PullRefresh);

//列表插件
import { List } from 'vant';
Vue.use(List);


//表格插件
import { Cell, CellGroup } from 'vant';
Vue.use(Cell);
Vue.use(CellGroup);

//导航栏
import { NavBar } from 'vant';
Vue.use(NavBar);

import { Field } from 'vant';
Vue.use(Field);
//提示
import { Toast } from 'vant';
Vue.use(Toast);
//通知栏插件
import { NoticeBar } from 'vant';
Vue.use(NoticeBar);
//骨架平
import { Skeleton } from 'vant';
Vue.use(Skeleton);
//空状态
import { Empty } from 'vant';
Vue.use(Empty);
//加载
import { Loading } from 'vant';
Vue.use(Loading);
//弹出层
import { Popup } from 'vant';
Vue.use(Popup);
Vue.config.productionTip = false

//弹出框
import { Dialog } from 'vant';
Vue.use(Dialog);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
